/*
 Navicat Premium Data Transfer

 Source Server         : localhost_3306
 Source Server Type    : MySQL
 Source Server Version : 80032 (8.0.32)
 Source Host           : localhost:3306
 Source Schema         : renli_manager

 Target Server Type    : MySQL
 Target Server Version : 80032 (8.0.32)
 File Encoding         : 65001

 Date: 27/03/2023 20:56:10
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for punishment
-- ----------------------------
DROP TABLE IF EXISTS `punishment`;
CREATE TABLE `punishment` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `staff_id` bigint DEFAULT NULL,
  `reward` double DEFAULT NULL COMMENT '奖赏金额',
  `penalty` double DEFAULT NULL COMMENT '罚款金额',
  `cause` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '罚款或奖赏的原因',
  `processing_time` datetime NOT NULL COMMENT '处理时间',
  `account_processor` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '处理人',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT '无' COMMENT '对奖惩的描述',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1640317412636233731 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of punishment
-- ----------------------------
BEGIN;
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1, 1639196442747977730, 0, 0, '无', '2023-03-03 19:15:45', '待定', '徐先知', '无');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640311820135948290, 1639965997678182402, 0, 66, '偷懒', '2023-03-27 19:16:28', 'root', '测试3', 'root奖励了测试30.0元，理由为:偷懒。时间：2023-03-27 19:16:28');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640312077666205697, 1639965997678182402, 0, 66, '偷懒1', '2023-03-27 19:17:29', 'root', '测试3', 'root罚款测试30.0元，理由为:偷懒1。时间：2023-03-27 19:17:29');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640312667716599809, 1639965997678182402, 0, 661, '偷懒1', '2023-03-27 19:19:50', 'root', '测试3', 'root罚款测试3 661.0元，理由为：偷懒1。时间：2023-03-27 19:19:50');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640313619291017217, 1639965997678182402, 0, 51, '偷懒1', '2023-03-27 19:23:37', 'root', '测试3', 'root罚款测试3 51.0元，理由为：偷懒1。时间：2023-03-27 19:23:37');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640315198048030722, 1639965997678182402, 0, 51, '偷懒1', '2023-03-27 19:29:53', 'root', '测试3', 'root罚款测试3 51.0元，理由为：偷懒1。时间：2023-03-27 19:29:53');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640315504534212610, 1639965997678182402, 0, 51, '偷懒1', '2023-03-27 19:31:07', 'root', '测试3', 'root罚款测试3 51.0元，理由为：偷懒1。时间：2023-03-27 19:31:06');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640317057328353281, 1639965997678182402, 0, 51, '偷懒1', '2023-03-27 19:37:17', 'root', '测试3', 'root罚款测试3 51.0元，理由为：偷懒1。时间：2023-03-27 19:37:16');
INSERT INTO `punishment` (`id`, `staff_id`, `reward`, `penalty`, `cause`, `processing_time`, `account_processor`, `name`, `description`) VALUES (1640317412636233730, 1639965997678182402, 0, 51, '偷懒1', '2023-03-27 19:38:41', 'root', '测试3', 'root罚款测试3 51.0元，理由为：偷懒1。时间：2023-03-27 19:38:41');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
